import {createRouter, createWebHashHistory} from "vue-router";

const  routers=createRouter({
     history:createWebHashHistory(),
     routes:[
        {
            path:'/',
            component:()=>import('../views/cookbook/CookBook.vue')
        },
        {
            path:'/cookbook',
            name:'cookbook',
            component:()=>import('../views/cookbook/CookBook.vue'),
            children:[
                {
                    path:'/c'
                }
            ]
        },
        {
            path:'/cla',
            name:'cla',
            component:()=>import('../views/cla/ClaType.vue')
        },
        {
            path:'/qz',
            name:'qz',
            component:()=>import('../views/qz/QunZi.vue')
        },
        {
            path:'/me',
            name:'me',
            component:()=>import('../views/me/MineHome.vue')
        }
    ]
})

export  default  routers;